package vo;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;

public class Attendance {
    SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    private String stu_id;
    private String course_id;
    private Timestamp attendance_time;
    private attendencestatus Status;
    public enum attendencestatus{
        到课,
        缺勤,
        请假,
    }

    public String getCourse_id() {
        return course_id;
    }

    public void setCourse_id(String course_id) {
        this.course_id = course_id;
    }
    public attendencestatus getStatus() {
        return Status;
    }

    public void setStatus(attendencestatus status) {
        Status = status;
    }
    public String getAttendance_time() {
        return formatter.format(attendance_time);
    }

    public void setAttendance_time(Timestamp attendance_time) {
        this.attendance_time = attendance_time;
    }

    public String getStu_id() {
        return stu_id;
    }

    public void setStu_id(String stu_id) {
        this.stu_id = stu_id;
    }


}
